package com.cd.javacxy.common.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.cd.javacxy.common.model.enums.MessageStatus;
import lombok.Data;

import java.time.Instant;

/**
 * @author cookie
 */
@Data
public class MessageVo {
    private Integer id;

    private Integer receivedUserId;

    @JSONField(format = "yyyy-MM-dd")
    private Instant createTime;

    private String createTimeString;

    private MessageStatus status;

    private String description;

    private String url;

}